<%-- 
    Document   : principal
    Created on : 07/11/2012, 01:21:57 PM
    Author     : Izhar Gamaliel Hernandez Cruz
--%>

<%@page import="kn.cstf2.transition.Bean.TransitionBean"%>
<%@page import="java.util.ArrayList"%>
<%@page import="kn.cstf2.main.Shared.MainShared"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<%@ taglib uri="/struts-tags" prefix="s" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="stylesheet" href="../css/estilo.css" />
        <title>STK FS F2 - KnKey Transition</title>
    </head>
    <body>
        <s:div cssClass="divBlancoMenor"></s:div>
        <s:div cssClass="contenidoAzul">
            <jsp:include page="encabezado.jsp" flush="true" />
            <s:div cssClass="divBlanco"></s:div>
        </s:div>
            <s:form action="loadKnkeys">
                <div align="center">
                    <br/>
                    <center>
                        <b>Por favor seleccione el KNKey deseado.</b>
                    </center>
                    <br/>
                    <table align="center" border="1" class="listado">
                        <tr style="background: lightskyblue">
                            <td>
                                KNKEY
                            </td>
                            <td>
                                Company Name
                            </td>
                            <td>
                                Status
                            </td>
                            <td>
                                Creation Date
                            </td>
                            <td>
                                Updated
                            </td>
                            <td>
                                Action
                            </td>
                        </tr>
                        <s:iterator value="listaTablaBeans">
                            <tr>
                                <td>
                                    <s:property value="knkey"/>
                                </td>
                                <td>
                                    <s:property value="companyname" />
                                </td>
                                <td>
                                    <s:property value="statusTrans" />
                                </td>
                                <td>
                                    <s:property value="creation" />
                                </td>
                                <td>
                                    <s:if test="updated1 == true">
                                        <img src="${pageContext.request.contextPath}/Imagenes/accept.png" />
                                    </s:if>
                                </td>
                                <td>
                                    <s:a cssClass="buttonTablaAssign" method="splitData">
                                        <input type="button" value="Detail"/>
                                        <s:param name="knkey2" value="knkey"></s:param>
                                        <s:param name="companyname" value="companyname"></s:param>
                                    </s:a>
                                </td>
                            </tr>
                        </s:iterator>
                    </table>
                    </br>
<!--                    <table align="center">
                        <tr>
                            <td>
                                <%--<s:select list="transitionBeanArray" listValue="Status" listKey="Status" name="knkey" />--%>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <%--<s:submit id="sbtKnkeyKnkeyList" align="center" value="Load Selected KNKey" method="splitData" />--%>
                            </td>
                        </tr>
                    </table>-->
                </div>
            </s:form>
        <s:div cssClass="divBlanco"></s:div>
        <s:div cssClass="contenidoAzul">
            <jsp:include page="/jsp/pie.jsp" flush="true" />
        </s:div>
</body>
</html>
